{if $smarty.session.admin_user.id}
<header class="ttl">
Sales Advisor Content Management System
</header>
<div class="top_nav"><a href="javascript://">欢迎回来, {$smarty.session.admin_user.name}</a> &nbsp; | &nbsp; <a href="admin/logout.html">退出</a></div>
{/if}